xl: allow for node-wise specification of vcpu pinning
authorDario Faggioli <dario.faggioli@citrix.com>
Sat, 7 Dec 2013 00:05:18 +0000 (01:05 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 9 Dec 2013 15:20:12 +0000 (15:20 +0000)
commit23772b35cf1d18c830bc28b28b55eccbcf8e24be
treecf36e68e7d27efd32e4226e9df4020e8ecee30da
parent62f25a16a47e62b2abbabd3c24c30c2545c5e312
xl: allow for node-wise specification of vcpu pinning

Making it possible to use something like the following:
 * "nodes:0-3": all pCPUs of nodes 0,1,2,3;
 * "nodes:0-3,^node:2": all pCPUS of nodes 0,1,3;
 * "1,nodes:1-2,^6": pCPU 1 plus all pCPUs of nodes 1,2
   but not pCPU 6;
 * ...

In both domain config file and `xl vcpu-pin'.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
docs/man/xl.cfg.pod.5
tools/libxl/xl_cmdimpl.c